
<%@page import="externaldata.theoricaltimefile.TheoricalTrainData"%>
<%@page import="dao.DaoTheoricalTrainData"%>
<%@page import="dao.DaoPari"%>
<%@page import="dao.DaoUser"%>
<%@page import="pari.Pari"%>
<%@page import="java.util.Date" %>

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>

<!doctype html>
<html lang="fr">
<head>
	<%@ include file="pageComponent/head.jsp" %>
	<title>Bet Your Train</title>
</head>
<body>
	<%@ page import="user.User" %>

	<%@ include file="pageComponent/menu_top.jsp" %>

	<div class="container">
		<div class="row">
			<div class="col-sm-8" role="main">
				<% if("bets".equals(request.getParameter("page"))) { %>
					<%@ include file="page/bets.jsp" %>
				<% }
				else if("friends".equals(request.getParameter("page"))) { %>
					<%@ include file="page/friends.jsp" %>
				<% }
				else if("new_bet".equals(request.getParameter("page"))) { %>
					<%@ include file="page/new_bet.jsp" %>
				<% }
				else if("profile".equals(request.getParameter("page"))) { %>
					<%@ include file="page/profile.jsp" %>
				<% }
				else if("users".equals(request.getParameter("page"))) { %>
					<%@ include file="page/users.jsp" %>
				<% }
				else { %>
					<%@ include file="page/home.jsp" %>
				<% } %>
			</div>
		</div>
	</div>

	<%@ include file="pageComponent/footer.jsp" %>
</body>
</html>